cmake_minimum_required(VERSION 3.10)
project(task2_Rune)

set(CMAKE_CXX_STANDARD 14)

find_package(OpenCV 4 REQUIRED)

add_library(RuneDetector RuneDetector.cpp)
target_include_directories(RuneDetector PUBLIC include)
target_include_directories(RuneDetector PUBLIC ${OpenCV_INCLUDE_DIRS})

add_executable(task2_Rune main.cpp)
target_link_libraries(task2_Rune RuneDetector ${OpenCV_LIBS})
